Developer API

Pricing

Use live pricing endpoints for video credits, Ricochet hosted AI credits, subscription packages, and AI Gateway USD pricing.

Live pricing sources

Pricing is served from the backend config and AI Gateway pricing endpoint. Do not copy static prices into client docs.

Example
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

Return pricing.yaml-backed generation costs, subscription plans, credit packages, Ricochet plans, and model billing policy.

Auth: NoneScope: -Audience: Developers
GET/ai-gateway/pricing

Return AI Gateway credit packages, platform fee, minimum charge, and customer-visible model pricing.

Auth: Optional bearerScope: -Audience: Developers

Credit models

Video/Ricochet use credits from pricing.yaml. AI Gateway uses USD micro-balance and customer-visible model rates.

Video and Ricochet credits

/config/pricing returns generation costs such as ai_studio_image, ai_studio_video, repurpose_video, marketing_tools, and audio_tools, plus subscription plans, top-up packages, Ricochet plans, and Ricochet model billing policy.

AI Gateway balance

/ai-gateway/pricing returns packages, platform fee, minimum charge, and model pricing in USD terms.

Pricing breakdown

Public credit-debit reference for Rico Video and Ricochet hosted AI. Values are loaded from /config/pricing and pricing.yaml.

Rico Video credit costs

Workflow ranges for video generation, repurpose, AI studio, marketing, and audio tools.

WorkflowCreditsUnit
Repurpose / clipping1 credits / source minutesource minute
Captions / reframe1-3 credits / minuteminute
AI B-roll5-20 credits / tasktask
Standard 5s generation20-40 credits / renderrender
Premium 5s generation60-120 credits / renderrender
Premium 10s generation120-250 credits / renderrender
Ultra / top providers200-500+ credits / renderrender

Active storage included. Extra storage is $10 / 100GB / month. Fair-use bandwidth applies.

Ricochet hosted AI model rates

Base token prices and sample credits for OpenAI, Anthropic, Google, DeepSeek, xAI, Z.AI, and MiniMax models.

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

Computed from verified provider rates in pricing config at 100 credits / USD.

Final debit can differ because of retries, tool calls, cache writes, long-context multipliers, routing modifiers, and provider-specific surcharges.