kukuai
Claude Code Codex Gemini CLI Claude OpenAI Gemini Pay as you go Credit packs Image generation Video generation
Alternatives
ModelInputOutput/ 1M tokensTrend
| Platform engineers | Private routing groups give engineers control over which suppliers and models a key can use, with prices and request logs available by group. |
|---|---|
| Software developers | Magpie imports a key, model and endpoint into Claude Code, Codex, OpenCode or Gemini CLI to simplify client setup. |
| Media app developers | Asynchronous image and video APIs support longer media jobs, with unified task polling and result downloads. |
How does a custom routing group affect an API request?
Select suppliers and models, save the group, then bind an API key to it. Calls made with that key use the group; you do not add a supplier or group ID to each request.
How should I handle long image or video jobs?
Use asynchronous image endpoints for large jobs; video creation is already asynchronous. Save the task ID and poll the unified task endpoint until completion or failure. Image submissions support an Idempotency-Key to avoid duplicate jobs.
Does changing the network endpoint change my key’s model access?
No. The endpoint determines the network entry point; model permissions come from the key and its group. For an unavailable model, check the group and enabled models as well as the connection.