Developer API

Цены

Используйте live pricing endpoints для video credits, Ricochet hosted AI credits, subscription packages и AI Gateway USD pricing.

Актуальные источники цен

Pricing отдаётся backend config и AI Gateway pricing endpoint. Не копируйте статические цены в client docs.

Пример
curl https://api.grik.io/api/v1/config/pricing

curl https://api.grik.io/api/v1/ai-gateway/pricing \
  -H "Authorization: Bearer GRIK_API_KEY"
GET/config/pricing

Возвращает generation costs, subscription plans, credit packages, Ricochet plans и model billing policy из pricing.yaml.

Авторизация: НетОбласть: -Аудитория: Разработчики
GET/ai-gateway/pricing

Возвращает AI Gateway credit packages, platform fee, minimum charge и видимые клиенту model pricing.

Авторизация: Bearer необязателенОбласть: -Аудитория: Разработчики

Модели списания credits

Video/Ricochet используют credits из pricing.yaml. AI Gateway использует USD micro-balance и видимые клиенту model rates.

Video и Ricochet credits

/config/pricing возвращает generation costs: ai_studio_image, ai_studio_video, repurpose_video, marketing_tools и audio_tools, а также subscription plans, top-up packages, Ricochet plans и Ricochet model billing policy.

AI Gateway balance

/ai-gateway/pricing возвращает packages, platform fee, minimum charge и model pricing в USD.

Pricing breakdown

Публичная расшифровка credit списаний для Rico Video и Ricochet hosted AI. Значения берутся из /config/pricing и pricing.yaml.

Rico Video credit costs

Workflow ranges для video generation, repurpose, AI studio, marketing и audio tools.

WorkflowCreditsUnit
Repurpose / нарезка1 credits / минута исходникаминута исходника
Captions / reframe1-3 credits / минутаминута
AI B-roll5-20 credits / задачазадача
Standard 5s generation20-40 credits / рендеррендер
Premium 5s generation60-120 credits / рендеррендер
Premium 10s generation120-250 credits / рендеррендер
Ultra / top providers200-500+ credits / рендеррендер

Включено активное хранилище. Дополнительное хранилище: $10 / 100GB в месяц. Действует fair-use по трафику.

Ricochet hosted AI model rates

Base token prices и пример credits для моделей OpenAI, Anthropic, Google, DeepSeek, xAI, Z.AI и MiniMax.

OpenAI

GPT-5.5

approval
Input $/1M$5.00
Cached $/1M$0.500
Output $/1M$30.00
100k input + 20k output$1.10
Credits110 credits

Long-context sessions above 272k input tokens can use higher whole-session rates.

Verified: 2026-06-30

OpenAI

GPT-5.4

approval
Input $/1M$2.50
Cached $/1M$0.250
Output $/1M$15.00
100k input + 20k output$0.550
Credits55 credits

Long-context sessions above 272k input tokens can use higher whole-session rates.

Verified: 2026-06-30

OpenAI

GPT-5.4 Mini

Input $/1M$0.750
Cached $/1M$0.075
Output $/1M$4.50
100k input + 20k output$0.165
Credits17 credits

Cheap-first hosted route for routine coding work.

Verified: 2026-06-30

OpenAI

GPT-5.3 Codex

approval
Input $/1M$1.75
Cached $/1M$0.175
Output $/1M$14.00
100k input + 20k output$0.455
Credits46 credits

Specialized Codex route; base token guide excludes server-side tools, containers, file search, retries, and routing modifiers.

Verified: 2026-06-30

Anthropic

Claude Opus 4.8 Fast

approval
Input $/1M$10.00
Cached $/1M$1.00
Output $/1M$50.00
100k input + 20k output$2.00
Credits200 credits

Conservative fast-mode display rate; standard/cache-refresh routes can be lower. Cache read/refresh differs from cache write.

Verified: 2026-06-30

Anthropic

Claude Opus 4.8 Standard

approval
Input $/1M$5.00
Cached $/1M$0.500
Output $/1M$25.00
100k input + 20k output$1.00
Credits100 credits

Standard Opus 4.8 base token rate; 5m/1h cache writes, tool use, and inference geography can add modifiers.

Verified: 2026-06-30

Anthropic

Claude Sonnet 4.6

approval
Input $/1M$3.00
Cached $/1M$0.300
Output $/1M$15.00
100k input + 20k output$0.600
Credits60 credits

Cache read/refresh differs from cache write; fast mode may use higher pricing.

Verified: 2026-06-30

Anthropic

Claude Fable 5

approval
Input $/1M$10.00
Cached $/1M$1.00
Output $/1M$50.00
100k input + 20k output$2.00
Credits200 credits

Cache read/refresh differs from cache write; availability can depend on data-retention policy.

Verified: 2026-06-30

Google

Gemini 3.1 Flash-Lite

Input $/1M$0.250
Cached $/1M$0.025
Output $/1M$1.50
100k input + 20k output$0.0550
Credits6 credits

Google standard text/image/video token rate; Search/Maps grounding and agent tool usage can be billed separately.

Verified: 2026-06-30

Google

Gemini 3.1 Pro Preview

approval
Input $/1M$2.00
Cached $/1M$0.200
Output $/1M$12.00
100k input + 20k output$0.440
Credits44 credits

Standard rate for prompts <=200k tokens; prompts above 200k, grounding, and agent tools can cost more.

Verified: 2026-06-30

DeepSeek

DeepSeek V4 Flash

Input $/1M$0.140
Cached $/1M$0.003
Output $/1M$0.280
100k input + 20k output$0.0196
Credits2 credits

Current V4 rate; legacy aliases should not be shown as primary pricing.

Verified: 2026-06-30

DeepSeek

DeepSeek V4 Pro

Input $/1M$0.435
Cached $/1M$0.004
Output $/1M$0.870
100k input + 20k output$0.0609
Credits7 credits

Current V4 rate; legacy aliases should not be shown as primary pricing.

Verified: 2026-06-30

Z.AI

GLM-5.2

Input $/1M$1.40
Cached $/1M$0.260
Output $/1M$4.40
100k input + 20k output$0.228
Credits23 credits

Current Z.AI coding route estimate; web-search/tool calls may be billed separately by provider.

Verified: 2026-06-30

Z.AI

GLM-5.1

Input $/1M$1.40
Cached $/1M$0.260
Output $/1M$4.40
100k input + 20k output$0.228
Credits23 credits

Web-search/tool calls may be billed separately by provider.

Verified: 2026-06-30

xAI

Grok 4.3

Input $/1M$1.25
Cached $/1M$0.200
Output $/1M$2.50
100k input + 20k output$0.175
Credits18 credits

Priority processing and batch discounts are not included in this simple guide.

Verified: 2026-06-30

xAI

Grok Build 0.1

Input $/1M$1.00
Cached $/1M$0.200
Output $/1M$2.00
100k input + 20k output$0.140
Credits14 credits

Coding-specific xAI route; priority processing and batch discounts are not included.

Verified: 2026-06-30

MiniMax

MiniMax M3

Input $/1M$0.300
Cached $/1M$0.060
Output $/1M$1.20
100k input + 20k output$0.0540
Credits6 credits

Official source is CNY; USD shown as normalized estimate. Standard tier up to 512k input; prompts above 512k use higher provider pricing.

Verified: 2026-06-30

Считается из verified provider rates в pricing config по курсу 100 credits / USD.

Final debit может отличаться из-за retries, tool calls, cache writes, long-context multipliers, routing modifiers и provider-specific surcharges.