Connect Agnaistic to DeepSeek, Claude and Gemini. One Third-Party URL, one key.
Agnaistic runs at agnai.chat or on your own computer, and uses the AI service you pick. Set the preset to Third-Party, paste these values and chat: about 8,000 DeepSeek V4.1 Flash messages for $10.
Preset
AI Service: Third-Party
Third Party Format: OpenAI Compat (Chat)
Third Party URL: https://api.apisrouter.com/v1
Third Party Key/Password: sk-your-apisrouter-key
OpenAI Model Override: deepseek-v4.1-flashWhat $10 buys
One message in a running chat: about 8,000 tokens of character card and history in, 400 out, priced without caching.
- DeepSeek V4.1 Flash (deepseek-v4.1-flash): 8,000 messages for $10, $1.24 per 1,000 messages. The lowest cost here, so long chats stay cheap.
- DeepSeek V4 Pro (deepseek-v4-pro): 2,000 messages for $10, $5 per 1,000 messages. DeepSeek's larger model, for replies that need more thought.
- Gemini 3.8 Flash (gemini-3.8-flash): 1,600 messages for $10, $6 per 1,000 messages. Google's Gemini, for a different writing voice.
- Claude Sonnet 4.6 (claude-sonnet-4-6): 400 messages for $10, $24 per 1,000 messages. Anthropic's Sonnet, between DeepSeek and Opus in price.
- Claude Opus 5.5 (claude-opus-5-5): 300 messages for $10, $30.40 per 1,000 messages. Anthropic's Opus, for scenes where every line matters.
Set it up in one minute
- Get a key: Start on the $2 trial credit, or top up from $10 below and the key arrives by email.
- Open the preset: Open the preset your chat uses, or make a new one, and set AI Service to Third-Party.
- Paste the values: Choose OpenAI Compat (Chat) as the Third Party Format, paste https://api.apisrouter.com/v1 as the Third Party URL and your key under Third Party Key/Password, and put a model ID such as deepseek-v4.1-flash in OpenAI Model Override.
- Save and chat: Save the preset and send a message. To switch models later, change OpenAI Model Override; the key stays the same.
If it does not answer
- 404: If the error says model_not_found, fix OpenAI Model Override. Otherwise, with Disable Auto-URL on, the URL has to be the full https://api.apisrouter.com/v1/chat/completions.
- model_not_found: OpenAI Model Override must be an exact model ID in lowercase, such as deepseek-v4.1-flash.
- 401: The key is incomplete or has a space at either end. Paste it again under Third Party Key/Password.
Two ways to pay
Both fill one balance, spent as you chat.
FAQ
What is Agnaistic?
Agnaistic, or Agnai, is a free, open-source app for roleplay chat with AI characters. Use it at agnai.chat, or run it yourself after installing it with npm. It connects to a model through the AI service you choose in a preset.
Is Agnai free?
The app is free and open source; agnai.chat also sells subscriptions. With your own API, what costs money is the model you connect: through APIsRouter, about 8,000 DeepSeek V4.1 Flash messages for $10, or about 1,600 on the $2 trial credit. Sign in and claim the credit from your dashboard, no card needed.
How do I use a custom API in Agnaistic?
Set the preset's AI Service to Third-Party and the Third Party Format to OpenAI Compat (Chat). Paste https://api.apisrouter.com/v1 as the Third Party URL, your key under Third Party Key/Password, and a model ID in OpenAI Model Override.
Can I use Claude in Agnaistic?
Yes, through the same Third-Party preset: put a Claude model ID, such as claude-sonnet-4-6 or claude-opus-5-5, in OpenAI Model Override.
Which model should I use?
DeepSeek V4.1 Flash for long, cheap chats; Claude Sonnet 4.6 or Claude Opus 5.5 for scenes that need more care. One key covers all of them; what $10 buys on each is listed above.
Does the same key work in SillyTavern, RisuAI and Janitor AI?
Yes. SillyTavern takes the same base URL; RisuAI and Janitor AI take the full https://api.apisrouter.com/v1/chat/completions.
Do unused credits expire?
No. Credit stays in your balance until you use it, and requests stop when it runs out, so there are no surprise bills.