Hand it to your AI agent
Copy this prompt into Claude Code, Cursor, Codex or any coding agent. It tells the agent where the docs are and how to use your API key.
Integrate Lovely Router models (Claude, GPT, Gemini and more, one prepaid key) into this project. - Docs (read first): https://lovelyrouter.com/docs/models.md and https://lovelyrouter.com/docs/api/models.md - Each model family keeps its own native API, no translation: Anthropic Messages at https://lovelyrouter.com/v1/messages (Anthropic SDK, base URL https://lovelyrouter.com), OpenAI Chat Completions / Responses at https://lovelyrouter.com/v1 (OpenAI SDK), Gemini at https://lovelyrouter.com/v1beta (Google GenAI SDK, base URL https://lovelyrouter.com). Use the SDK for the model family you pick. - GET https://lovelyrouter.com/v1/models lists every model id with its price and API formats; pick one there, do not guess ids. - Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys. - Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large. - Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt. My task: <describe what you want to build or get>
Claude Fable 5.2Anthropic
Input
$8.00
Output
$40.00
Cache read
$0.20
Cache write
$10.00
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Claude Fable 5.1Anthropic
Input
$10.00
Output
$50.00
Cache read
$0.25
Cache write
$12.50
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Claude Opus 5.5Anthropic
Input
$4.00
Output
$20.00
Cache read
$0.20
Cache write
$5.00
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Claude Sonnet 5.5Anthropic
Input
$2.00
Output
$10.00
Cache read
$0.10
Cache write
$2.50
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Claude Haiku 5.5Anthropic
Input
$0.10
Output
$0.50
Cache read
$0.010
Cache write
$0.13
$0.1 / $0.5 per M (prompts ≤100k) · $0.5 / $2.5 (>100k)
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · Value
Claude Fable 5Anthropic
Input
$10.00
Output
$50.00
Cache read
$1.00
Cache write
$12.50
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Claude Opus 5Anthropic
Input
$5.00
Output
$25.00
Cache read
$0.50
Cache write
$6.25
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Claude Sonnet 5Anthropic
Input
$2.00
Output
$10.00
Cache read
$0.20
Cache write
$2.50
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Claude Opus 4.8Anthropic
Input
$5.00
Output
$25.00
Cache read
$0.50
Cache write
$6.25
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Claude Opus 4.7Anthropic
Input
$5.00
Output
$25.00
Cache read
$0.50
Cache write
$6.25
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Claude Opus 4.6Anthropic
Input
$5.00
Output
$25.00
Cache read
$0.50
Cache write
$6.25
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Claude Sonnet 4.6Anthropic
Input
$3.00
Output
$15.00
Cache read
$0.30
Cache write
$3.75
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Claude Opus 4.5Anthropic
Input
$5.00
Output
$25.00
Cache read
$0.50
Cache write
$6.25
USD per 1M tokens
200K context·Anthropic APIOpenAI API
Claude · Value
Claude Sonnet 4.5Anthropic
Input
$3.00
Output
$15.00
Cache read
$0.30
Cache write
$3.75
USD per 1M tokens
1000K context·Anthropic APIOpenAI API
Claude · Value
Claude Haiku 4.5Anthropic
Input
$1.00
Output
$5.00
Cache read
$0.10
Cache write
$1.25
USD per 1M tokens
200K context·Anthropic APIOpenAI API
Claude · ValueClaude · API
Gemini 3.1 ProGoogle
Input
$2.00
Output
$12.00
Cache read
$0.20
Cache write
—
$2 / $12 per M (prompts ≤200k) · $4 / $18 (>200k)
USD per 1M tokens
1049K context·Anthropic APIOpenAI APIGemini API
Gemini · Value
Gemini 4 ArgonGoogle
■90.0%
TTFT 16.0s · 113 tok/s
Input
$2.00
Output
$10.00
Cache read
$0.10
Cache write
—
UpcomingPrice changes to $4 / $20 per M on Dec 1, 2026. Cache read becomes $0.2 per M.
USD per 1M tokens
1049K context·Gemini APIAnthropic APIOpenAI API
Gemini · Value
Gemini 4 CarbonGoogle
Input
$2.00
Output
$10.00
Cache read
$0.10
Cache write
—
UpcomingPrice changes to $4 / $20 per M on Dec 1, 2026. Cache read becomes $0.2 per M.
USD per 1M tokens
1049K context·Anthropic APIOpenAI APIGemini API
Gemini · Value
Gemini 4 HydrogenGoogle
●100%
TTFT 5.8s
Input
$1.50
Output
$7.50
Cache read
$0.075
Cache write
—
USD per 1M tokens
1049K context·Anthropic APIOpenAI APIGemini API
Gemini · Value
Gemini 3 FlashGoogle
Input
$0.50
Output
$3.00
Cache read
$0.050
Cache write
—
USD per 1M tokens
1049K context·Anthropic APIOpenAI APIGemini API
Gemini · Value
Gemini 3.5 FlashGoogle
Input
$1.50
Output
$9.00
Cache read
$0.15
Cache write
—
USD per 1M tokens
1049K context·Anthropic APIOpenAI APIGemini API
Gemini · Value
Gemini 3.8 FlashGoogle
●100%
TTFT 14.5s · 1523 tok/s
Input
$0.75
Output
$3.75
Cache read
$0.075
Cache write
—
UpcomingPrice changes to $1.5 / $7.5 per M on Jan 1, 2027. Cache read becomes $0.15 per M.
USD per 1M tokens
1049K context·Anthropic APIOpenAI APIGemini API
Gemini · Value
Gemini 3.6 FlashGoogle
Input
$0.75
Output
$3.75
Cache read
$0.075
Cache write
—
UpcomingPrice changes to $1.5 / $7.5 per M on Jan 1, 2027. Cache read becomes $0.15 per M.
USD per 1M tokens
1049K context·Anthropic APIOpenAI APIGemini API
Gemini · Value
GPT-6 AstraOpenAI
●100%
TTFT 9.5s · 94 tok/s
Input
$10.00
Output
$50.00
Cache read
$1.00
Cache write
—
$10 / $50 per M (prompts ≤272k) · $20 / $75 (>272k)
USD per 1M tokens
1050K context·OpenAI APIOpenAI Responses
GPT · Value
GPT-6.1 SolOpenAI
●100%
TTFT 4.8s · 4 tok/s
Input
$2.00
Output
$10.00
Cache read
$0.10
Cache write
—
$2 / $10 per M (prompts ≤272k) · $4 / $15 (>272k)
USD per 1M tokens
1050K context·OpenAI APIOpenAI Responses
GPT · Value
GPT-6.1 TerraOpenAI
Input
$1.00
Output
$5.00
Cache read
$0.050
Cache write
—
$1 / $5 per M (prompts ≤272k) · $2 / $7.5 (>272k)
USD per 1M tokens
1050K context·OpenAI APIOpenAI Responses
GPT · Value
GPT-6 SolOpenAI
Input
$2.00
Output
$10.00
Cache read
$0.20
Cache write
—
$2 / $10 per M (prompts ≤272k) · $4 / $15 (>272k)
USD per 1M tokens
1050K context·OpenAI APIOpenAI Responses
GPT · Value
GPT-5.6 SolOpenAI
Input
$2.00
Output
$10.00
Cache read
$0.20
Cache write
—
$2 / $10 per M (prompts ≤272k) · $4 / $15 (>272k)
USD per 1M tokens
400K context·OpenAI APIOpenAI Responses
GPT · Value
GPT-5.6 TerraOpenAI
Input
$2.00
Output
$12.00
Cache read
$0.20
Cache write
—
$2 / $12 per M (prompts ≤272k) · $4 / $18 (>272k)
USD per 1M tokens
400K context·OpenAI APIOpenAI Responses
GPT · Value
GPT-5.6 LunaOpenAI
Input
$0.20
Output
$1.20
Cache read
$0.020
Cache write
—
$0.2 / $1.2 per M (prompts ≤272k) · $0.4 / $1.8 (>272k)
USD per 1M tokens
400K context·OpenAI APIOpenAI Responses
GPT · Value
Grok 4.7xAI
Input
$2.00
Output
$6.00
Cache read
$0.50
Cache write
—
$2 / $6 per M (prompts ≤200k) · $4 / $12 (>200k)
USD per 1M tokens
500K context·OpenAI APIOpenAI ResponsesAnthropic API
Grok · Value
● Up
Input
$4.00
Output
$12.00
Cache read
$1.00
Cache write
—
$4 / $12 per M (prompts ≤200k) · $6 / $18 (>200k)
USD per 1M tokens
500K context·OpenAI APIOpenAI ResponsesAnthropic API
Grok · Value
Grok 4.6xAI
Input
$2.00
Output
$6.00
Cache read
$0.50
Cache write
—
$2 / $6 per M (prompts ≤200k) · $4 / $12 (>200k)
USD per 1M tokens
500K context·OpenAI APIOpenAI ResponsesAnthropic API
Grok · Value
Grok 4.5xAI
Input
$2.00
Output
$6.00
Cache read
$0.30
Cache write
—
$2 / $6 per M (prompts ≤200k) · $4 / $12 (>200k)
USD per 1M tokens
500K context·OpenAI APIOpenAI ResponsesAnthropic API
Grok · Value
GPT Image 2.5 FlareOpenAI
Per image
$0.040
USD per image, any size or quality
·OpenAI Images API
GPT · Value
GPT Image 2.5 SunburstOpenAI
Per image
$0.040
USD per image, any size or quality
·OpenAI Images API
GPT · Value
GPT Image 2.6 FlareOpenAI
Per image
$0.060
USD per image, any size or quality
·OpenAI Images API
GPT · Value
GPT Image 2.6 SunburstOpenAI
Per image
$0.060
USD per image, any size or quality
·OpenAI Images API
GPT · Value
GPT Image 2OpenAI
●100%
Per image
$0.040
USD per image, any size or quality
·OpenAI Images API
GPT · Value
Gemini 3.1 Flash ImageGoogle
Per image
$0.086
USD per image, any size or quality
·OpenAI Images API
GPT · Value
Nano Banana 2.1Google
Per image
$0.086
USD per image, any size or quality
·OpenAI Images API
GPT · Value
Gemini 3 Pro ImageGoogle
Per image
$0.086
USD per image, any size or quality
·OpenAI Images API
GPT · Value
DeepSeek V4 ProDeepSeek
Input
$1.83
Output
$3.65
Cache read
$0.15
Cache write
—
USD per 1M tokens
1000K context·OpenAI APIAnthropic APIOpenAI Responses
Open weights · Multi-host
DeepSeek V4.1 FlashDeepSeek
Input
$0.15
Output
$0.60
Cache read
$0.003
Cache write
—
USD per 1M tokens
1049K context·OpenAI APIAnthropic APIOpenAI Responses
Open models · Value
MiniMax H3 Character SwapMiniMax
Per second
$0.10
USD per second of output video
·Videos API
Creative · Hosted
LTX-2.5 LiveLightricks
Per second
$0.019
USD per second of video, at least $0.42 per session
·Live video API
Creative · Hosted
LTX-2.3 Music VideoLightricks
Per second
$0.060
USD per second of output video
·Music video API
Creative · Hosted
● Up
Per second
$0.13
USD per second of output video
·Music video API
Creative · Hosted
● Up
Per second
$0.13
USD per second of output video
·Video shots API
Creative · Hosted
Qwen3-TTS 1.7BQwen
Per minute
$0.036
USD per minute of audio, billed by the second
·Speech API
Creative · Hosted
Per second
$0.13
USD per second of output video
·Video shots API
Creative · Hosted
ZONOS2Zyphra
Per minute
$0.036
USD per minute of audio, billed by the second
·Speech API
Creative · Hosted
Fish Audio Drama 3Fish Audio
Per minute
$0.090
USD per minute of audio, billed by the second
·Speech API
Creative · Hosted
Character Rig (See-through)See-through
Per character
$2.99
USD per character rig
·Character rig API
Creative · Hosted
Kokoro 82Mhexgrad
Per minute
$0.008
USD per minute of audio, billed by the second
·Speech API
Creative · Hosted
MOSS-Image SFTOpenMOSS
Per image
$0.12
USD per image, any size or quality
·OpenAI Images API
Creative · Hosted
MOSS-Image TurboOpenMOSS
Per image
$0.040
USD per image, any size or quality
·OpenAI Images API
Creative · Hosted
Uncensored and adult models → uncensored.lovelyrouter.com
Channel groups
Open weights · Multi-host
×1.05open-weights
Multiple inference hosts (OpenRouter pool)
Cheapest healthy host; no single-channel guarantee
Claude · API
×1.08claude-api
Claude API
Claude models on their own channel; only for keys bound to this group or requests that name it
Claude · Value
×1.00claude-value
Pooled capacity
Spread across multiple upstream pools for throughput; conversations stay pinned for cache
GPT · Value
×1.00gpt-value
Pooled capacity
Spread across multiple upstream pools for throughput; conversations stay pinned for cache
Gemini · Value
×1.00gemini-value
Pooled capacity
Spread across multiple upstream pools for throughput; conversations stay pinned for cache
Open models · Value
×1.00open-value
Pooled capacity
Open-weight models, including versions with refusals removed
Grok · Value
×1.00grok-value
Pooled capacity
Spread across multiple upstream pools for throughput; conversations stay pinned for cache
Creative · Hosted
×1.00creative-hosted
Dedicated GPUs
Open-weight fiction and roleplay models on dedicated GPUs; the first request after an idle spell waits ~15-30 s while the model wakes