Contents
To use SolCard Inference in JetBrains AI Assistant, add an OpenAI-compatible provider under Settings | Tools | AI Assistant | Providers & API keys, set the URL to https://api.solcardinference.ai/v1, paste your sk-si- key, turn on Tool calling, then assign our models to features by hand. JetBrains’ third-party models docs support “any endpoint that is compatible with the OpenAI API,” and our API speaks OpenAI Chat Completions. Every JetBrains setting below comes from JetBrains’ docs. We haven’t run it ourselves.
The same steps apply in IntelliJ IDEA, PyCharm, WebStorm and the other JetBrains IDEs that run AI Assistant.
What you need
- A SolCard Inference API key. Make one on the dashboard’s API keys page. Keys start with
sk-si-and are shown once. - Some balance or a plan. One prepaid USD balance pays for every key and model; see how billing works.
- A JetBrains IDE with the AI Assistant plugin.
Add the provider
The steps, per JetBrains’ settings reference:
- Open Settings | Tools | AI Assistant | Providers & API keys.
- In Third-party AI providers, set Provider to OpenAI-compatible.
- In URL, enter
https://api.solcardinference.ai/v1. - In API Key, paste your
sk-si-key. - Turn on Tool calling.
- Click Test Connection, then Apply.
Enter the base URL, not a full endpoint path. JetBrains’ docs only say to “specify the address of the provider’s API endpoint” and give no example. Our Chat Completions reference uses https://api.solcardinference.ai/v1 as the base, and OpenAI-compatible clients add /chat/completions themselves.
The /v1 path matters here. JetBrains’ tracker has a report, LLM-22911, titled “BYOK: JetBrainsAI modifies OpenAI-compatible URL (it is configured as v4, but replaced with v1).” That affects providers on other paths. Ours already sits at /v1, so that report shouldn’t affect it.
Tool calling is one switch for the whole provider. The settings reference describes it as “whether the model supports calling tools configured through the Model Context Protocol (MCP)” and says it’s “available only for OpenAI-compatible providers.” Our Chat Completions reference accepts tools and tool_choice, so turn it on.
Assign the models
Nothing uses our models until you assign them. JetBrains’ docs say “Models from OpenAI-compatible endpoints are not assigned to AI Assistant features automatically” and “Until you assign models, these models are available only in AI Chat.”
The Models Assignment section has two slots:
| Slot | What JetBrains uses it for | Pick |
|---|---|---|
| Core features | “in-editor code generation, commit message generation,” and the default chat model | solcard-inference-fast |
| Instant helpers | “lightweight features, such as chat context collection,” chat titles and name suggestions | solcard-inference-fast |
Instant helpers handle lightweight jobs, so give them the cheapest model. Fast is the cheapest of our three. Leave the Context window field alone: the settings reference says it applies to local models.
Switching models
Start chat on Fast and pick solcard-inference-large in AI Chat’s model picker when a change needs planning or a bug won’t budge. Large always reasons and costs about three times as much per token. Base has the smallest context of the three, at 262,144 tokens. Fast, Large or Base compares them.
What it won’t do
- No Junie. JetBrains’ agents page says “Junie supports API keys issued directly by OpenAI or Anthropic” and “Keys for other providers are not supported, even if they provide access to OpenAI or Anthropic models.”
- No Claude Agent or Codex either. The same page has you select Anthropic as the provider for Claude Agent and OpenAI for Codex, not an OpenAI-compatible one. If you want an agent on our models inside the IDE, run Claude Code in the IDE’s terminal with two environment variables.
- Inline completion stays separate. JetBrains’ docs say “AI completion features, such as inline code completion and next edit suggestions, use JetBrains models by default.” The AI Completion section can point at an OpenAI-compatible endpoint, with its own Prompt schema that formats completion requests. JetBrains doesn’t say which endpoint that calls, so this guide leaves completion on JetBrains’ default. Completion also fires as you type, which on per-token billing adds up fast.
- Text only. Our models reject images with
unsupported_content, so don’t attach screenshots to chat.
Check it works
Check the key from a terminal first:
curl https://api.solcardinference.ai/v1/models \
-H "Authorization: Bearer sk-si-..."
You should see solcard-inference-fast, solcard-inference-large and solcard-inference-base. Then click Test Connection in the IDE, open AI Chat, pick SolCard Inference Fast and ask something small, such as “What does this file do?”
Test Connection checks the connection, not a chat request. Send one real chat message before you assign models to features.
What a turn costs
AI Chat resends the conversation each turn, mostly at the cached rate. A chat turn on Fast that sends 20,000 tokens, 15,000 of them cached, and writes 1,000 tokens is about $0.011. The same turn on Large is about $0.031, plus its reasoning tokens. An instant helper call such as a chat title is far smaller: 2,000 tokens in and 30 out on Fast is about $0.003. How billing works has the prices and plans.
Troubleshooting
These are the API’s error codes, from our errors page; AI Assistant may word them differently.
- 401
invalid_api_key: the key is missing, revoked or unknown. Paste it again and rerun Test Connection. - 400
model_not_found: the assigned model isn’t one of ours. Usesolcard-inference-fast,-largeor-base. - 400
unsupported_content: an image reached the model. Remove the attachment. - 402
insufficient_balance: credits and plan can’t cover the request. Top up and retry. - 429
rate_limited: too many requests a minute for your plan. Instant helpers count too. - Commit messages or code generation still use another model: check the Core features slot under Models Assignment.
FAQ
Do I need a JetBrains AI subscription? JetBrains’ docs say “To ensure that all features are available and work as expected, you can activate a JetBrains AI service subscription” alongside your own models. Chat on our models runs on your SolCard Inference balance either way.
Can Junie use SolCard Inference? No. JetBrains’ agents page limits Junie to keys “issued directly by OpenAI or Anthropic.”
Are my prompts and code stored? Not by us. Prompts and responses are never logged or stored; keeps nothing follows one request through. JetBrains’ AI FAQ says “the IDE sends your prompts to the LLM provider.” For JetBrains’ side, check its own terms.
Is there a guide for another editor? Yes: VS Code, Zed and Cursor.