HomePricingDocsInvite
MoreOverviewTop upAPI keysUsage logsAccount
Sign inSign up

Beginner guide

New to APIs? Start here

This is a step-by-step guide anyone can follow to set things up.

I'm on
The commands below switch to match.

1. Three words to know first

Think of AMulet API as a model relay. You pay a little, get a key, and can call Claude, GPT, Gemini and Grok without opening an account with each provider.

What is an API

An API is the window programs use to talk to each other. Chat apps, coding tools and translation plugins all send your question to a model through it and bring the answer back. You don't need to code; you only need to paste an address and a key into your tool.

What is an API key

An API key is your key to this site, like the key to a lock. It usually starts with sk-. This guide always writes it as sk-your-key; replace that with your own. Never post your real key online or send it to strangers.

Keep your key safe

Anyone who has this string can spend your balance. It's usually shown in full only once after you create it, so copy it into a password manager right away. If you think it leaked, disable the old key in the console and create a new one.

What is a base URL

The base URL is this site's API address. Different tools want a different ending, and the wrong one gives you a 404 or no connection. Copy from this table:

WhereEnter
Most OpenAI-compatible tools, Python SDKhttps://amuletapi.com/v1
Claude Code (Anthropic protocol)https://amuletapi.com (no /v1)
When a tool asks for the full chat URL (e.g. Immersive Translate)https://amuletapi.com/v1/chat/completions

How balance and charges work

Balances, prices and usage on this site are all in US dollars (USD). You pay in RMB when you top up, and the page shows "Pay ¥X → get $Y". The current rate is ¥7 = $1, so paying ¥10 gives you about $1.43. Go by what the top-up page shows at the time.

Each call is charged for the tokens it actually uses. Input and output can have different prices; the full list is on the pricing page. If your balance runs out, requests are refused, so you never owe anything. You can check every charge in the request log in your console.

Remember these three things

1. Address: the table above.
2. Key: sk-your-key.
3. Model names must be exact, like claude-sonnet-5-5 or gpt-5.6-luna. Don't change the hyphens from memory.

2. Sign up, top up, create a key

Sign up

  1. 1

    Open https://amuletapi.com and click Sign up.

  2. 2

    Enter your email and a password of at least 8 characters. A username is generated for you.

  3. 3

    Tick "I have read and agree to the Terms of Service and Privacy Policy". You can't sign up without it.

  4. 4

    If a "verify you are human" check appears, follow it. If it asks for an email code, check your inbox, and your spam folder too.

  5. 5

    After you sign up, the site usually creates a key and shows a copy window. Copy it right away; once you close it you can't see the full key again.

If you can't sign in with your email yet, use the username created when you signed up.

Top up

  1. 1

    After signing in, open your wallet: https://amuletapi.com/wallet.

  2. 2

    Pick an amount. The page shows "Pay ¥X → get $Y".

  3. 3

    Pay with Alipay, the only payment method we accept. Keep the page open until it says the credit has arrived; your balance refreshes on its own.

  4. 4

    Top-ups in the wallet go straight to your balance; you don't get a separate redemption code. Refresh the wallet page to see your dollar balance.

If you've paid but the page is still spinning, wait a minute or two and refresh the wallet. If the credit still hasn't arrived, email the payment time and amount to support@studywam.com.

Create another key (optional)

  1. 1
  2. 2

    Under API Keys, click Create key and give it a name you'll recognise, like "Claude Code on my laptop".

  3. 3

    Copy and save it right away. One key can serve several tools, or you can make one per tool so you can disable just that one if it's lost.

3. Chat in your browser, nothing to install

The site has a built-in web chat. Once you're signed in you can talk to models without installing anything or entering a key. It uses the dollar balance in your account.

  1. 1

    Sign in, then open https://amuletapi.com/chat. You can also click Chat in the console sidebar.

  2. 2

    Pick a model with the model picker at the top of the page. For a first try, claude-haiku-5-5 or gpt-5.6-luna are cheap and good for testing.

  3. 3

    Type "hello" in the box and press Enter. If you get a reply, your account is working.

Add Web Chat to your Home Screen

Once it's added you get a chatAM icon on your home screen that opens the chat page.

  • iPhone / iPad: open amuletapi.com/chat in Safari, tap the Share button ↑ at the bottom, scroll down the menu to "Add to Home Screen", make sure the name is chatAM, then tap Add.
  • Android (Chrome, Edge, the built-in browser): tap the ⋮ menu at the top right, choose "Add to Home screen" (some phones say "Install app"), and confirm.
  • Opened inside WeChat or QQ: these in-app browsers can't add a home screen icon. Tap "···" at the top right, choose "Open in browser", then add it with Safari or Chrome as above.
  • On a computer: nothing to add. The install icon at the right of the address bar opens the chat in its own window, or press Ctrl + D (⌘ + D on a Mac) to bookmark it.

Use the name chatAM to match the site, so it's easy to spot.

Two things to know

Web chats are saved only in your current browser, not on our server, so you won't see them on another device.
Chatting here also uses your balance. For a quick test, pick a cheap model and ask one question.

4. Connect Claude Code

Claude Code is Anthropic's coding assistant; it reads and edits code for you in the terminal. To connect it to this site, use the Anthropic-style address, without /v1.

Official install guide: Claude Code Quickstart. Official gateway setup: Connect to an LLM gateway.

Install

In a Mac or Linux terminal, run:

In Windows PowerShell, run:

Install Claude Code · Mac / Linux
curl -fsSL https://claude.ai/install.sh | bash
Install Claude Code · Windows
irm https://claude.ai/install.ps1 | iex

You can also use npm (needs Node.js 22 or later; don't use sudo):

Install with npm
npm install -g @anthropic-ai/claude-code@latest

When it's done, run claude --version. If you see a version number, it installed fine.

Configure (we recommend the settings file, so it survives a restart)

On Mac / Linux, edit ~/.claude/settings.json:

On Windows, edit %USERPROFILE%\.claude\settings.json, that is C:\Users\YourName\.claude\settings.json:

~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://amuletapi.com",
    "ANTHROPIC_AUTH_TOKEN": "sk-your-key",
    "ANTHROPIC_MODEL": "claude-sonnet-5-5",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-5-5",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5"
  }
}

Or use environment variables (for the current window only)

Environment variables · Mac / Linux
export ANTHROPIC_BASE_URL=https://amuletapi.com
export ANTHROPIC_AUTH_TOKEN=sk-your-key
Environment variables · Windows PowerShell
$env:ANTHROPIC_BASE_URL = "https://amuletapi.com"
$env:ANTHROPIC_AUTH_TOKEN = "sk-your-key"

To keep them, add those two lines to ~/.zshrc (or ~/.bash_profile if you use bash), then run source ~/.zshrc.

To keep them, run this in PowerShell:
[Environment]::SetEnvironmentVariable("ANTHROPIC_BASE_URL", "https://amuletapi.com", "User")
[Environment]::SetEnvironmentVariable("ANTHROPIC_AUTH_TOKEN", "sk-your-key", "User")
Then open a new terminal window.

Pick a model and check the connection

  1. 1

    Open a project folder and run claude. Don't sign in with a claude.ai account; we're using your key from this site.

  2. 2

    Type /status. If the Anthropic base URL shows https://amuletapi.com and the auth method is Auth token or API key, you're set.

  3. 3

    Type /model and pick or enter a model ID. For everyday coding we suggest claude-sonnet-5-5, claude-opus-5-5 for the hardest tasks, and claude-haiku-5-5 for connection tests and small questions.

  4. 4

    Ask anything, like "describe this folder in one sentence". If it answers, you're connected.

If you get a 401

Change ANTHROPIC_AUTH_TOKEN to ANTHROPIC_API_KEY (same key value) and try again. This site accepts both headers; different Claude Code versions may default to a different one.

5. Connect Codex

Codex is OpenAI's coding assistant. Since 2026, custom providers in Codex only use the OpenAI Responses protocol. This site supports /v1/responses, so the setup below works.

Official install guide: Codex CLI. The config file is ~/.codex/config.toml.

Claude doesn't work in Codex

In Codex, pick a GPT, Gemini or Grok model. Choosing Claude gives an error, and that isn't a problem with this site. To code with Claude, see Claude Code in the previous section.

Install

Install Codex · Mac / Linux
curl -fsSL https://chatgpt.com/codex/install.sh | sh
Install Codex · Windows
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

You can also run npm install -g @openai/codex, or brew install --cask codex on a Mac. When it's done, run codex --version to check.

Config file

Edit ~/.codex/config.toml:

Edit %USERPROFILE%\.codex\config.toml, that is C:\Users\YourName\.codex\config.toml:

~/.codex/config.toml
model = "gpt-5.6-luna"
model_provider = "amulet"

[model_providers.amulet]
name = "AMulet API"
base_url = "https://amuletapi.com/v1"
env_key = "AMULET_API_KEY"
wire_api = "responses"

Keep your key out of this file. Codex expects it in the environment variable named in env_key:

Environment variables · Mac / Linux
export AMULET_API_KEY=sk-your-key
Environment variables · Windows PowerShell
$env:AMULET_API_KEY = "sk-your-key"

To keep it, do the same as for the environment variables in the previous section, with the name AMULET_API_KEY.

Pick a model and check the connection

  1. 1

    Open a project folder and run codex. Use the custom provider from the config file; don't switch to "Sign in with ChatGPT", or your requests won't reach this site.

  2. 2

    For everyday work, set model to gpt-6-sol or gpt-6.1-sol. For a first connection test, gpt-5.6-luna is cheaper. Prices are on the pricing page.

  3. 3

    Ask "describe this folder in one sentence". If it answers, you're connected. You can also run this in a terminal:

Check the connection with one command
codex exec --skip-git-repo-check --sandbox read-only "Reply with exactly the word pong and nothing else."

If it replies pong, Codex is reaching our Responses API. We've tested this step with a test key.

6. Connect DeepSeek Harness

Step-by-step · open and fill in as you go

DeepSeek Harness

  1. 1
    Install Node.js, then copy and run the start command

    Install Node.js first, then paste this command into a terminal and run it. It opens http://127.0.0.1:3080 by default.

    Start commandnpx @deepseek-ai/dsh web
  2. 2
    Open the settings page

    Go to Settings → Models → add a model provider, and switch to Custom model API.

  3. 3
    Paste the Provider ID

    It must be lowercase and can't be changed after you save. The display name can be anything.

    Provider IDamulet
    Display name (optional)AMulet API
  4. 4
    Paste the Base URL and pick OpenAI Chat Completions
    Base URLhttps://amuletapi.com/v1

    Set API protocol to OpenAI Chat Completions. Don't pick Amazon / Bedrock, or model names get a long prefix like jp.anthropic. that won't work here.

  5. 5
    Paste the API key

    Use the real key from your console.

    API Keysk-your-key
  6. 6
    Paste the model name, or click Fetch available models

    You can click Fetch available models first and tick the short names, such as claude-opus-5-5. A model has to be imported before you can pick it in a chat. Don't use prefixes like jp.anthropic. or jp.amazon.. If fetching fails, search below and copy a real model ID from this site. We don't list DeepSeek's own models right now, so pick any model we sell, for example by typing opus.

    Selected Claude Sonnet 5.5claude-sonnet-5-5
Copy the whole config

This is a tested snippet of ~/.dsh/settings.yaml (on Windows, %USERPROFILE%\.dsh\settings.yaml). Don't add or remove fields. Keep your key out of this file: set the environment variable AMULET_API_KEY to sk-your-key instead. Most people find it easier to paste the fields one by one as shown above.

agent-default-model:
  provider: amulet
  model: claude-sonnet-5-5
llm-pi-ai:
  providers:
    amulet:
      displayName: AMulet API
      apiKeyEnv: AMULET_API_KEY
      api: openai-completions
      baseURL: https://amuletapi.com/v1
      models:
        - id: claude-sonnet-5-5
        - id: claude-haiku-5-5
        - id: gpt-5.6-luna

DeepSeek Harness is DeepSeek's official open-source coding tool; the command is dsh. It's still a developer preview, so the way it's configured may change in later versions. You can start with the web interface and skip the config files.

Official docs: deepseek-ai/deepseek-harness. Custom providers are covered in docs/user/guide/providers.md in the repo.

Note: the protocol must be OpenAI Chat Completions. Don't set the provider to Amazon / Bedrock, or model names get prefixes like jp.anthropic. or jp.amazon., which look long and don't work here. Our model names are short, like claude-opus-5-5. Click Fetch available models to import them before you can pick one in a chat.

Install

Install Node.js first, then run this in a terminal:

Start the DeepSeek Harness web interface
npx @deepseek-ai/dsh web

It opens http://127.0.0.1:3080 by default. Add --no-open if you don't want a browser to open.

Configure it in the web interface

  1. 1

    Open Settings → Models → add a model provider, and switch to Custom model API.

  2. 2

    Paste the Provider ID. It must be lowercase and can't be changed after you save. The display name can be anything.

    Provider ID
    amulet
    Display name (optional)
    AMulet API
  3. 3

    Paste the Base URL and set API protocol to OpenAI Chat Completions.

    Base URL
    https://amuletapi.com/v1
  4. 4

    Paste the API key: the real key from your console. The placeholder is sk-your-key.

  5. 5

    You can click Fetch available models; if that fails, search below and copy a real model ID from this site. We don't list DeepSeek's own models right now, so pick any model we sell, for example by typing opus.

    Selected Claude Sonnet 5.5claude-sonnet-5-5
  6. 6

    After saving, pick a model in the model picker and new chats will go through this site. Send "hello"; if it answers, you're connected.

Copy the whole config (advanced, optional)

You can also paste the snippet below into ~/.dsh/settings.yaml (on Windows, %USERPROFILE%\.dsh\settings.yaml). The fields match the config we tested; don't add or remove keys. Keep your key out of this file: set the environment variable AMULET_API_KEY to sk-your-key instead.

Copy the whole settings.yaml
agent-default-model:
  provider: amulet
  model: claude-sonnet-5-5
llm-pi-ai:
  providers:
    amulet:
      displayName: AMulet API
      apiKeyEnv: AMULET_API_KEY
      api: openai-completions
      baseURL: https://amuletapi.com/v1
      models:
        - id: claude-sonnet-5-5
        - id: claude-haiku-5-5
        - id: gpt-5.6-luna

Settings other than keys live in $DSH_HOME, which defaults to:

~/.dsh/. The web interface writes to ~/.dsh/settings.yaml or ~/.dsh/profiles/web/cordis.patch.yml. Keys are in ~/.dsh/.credentials.yaml; never post that file online.

%USERPROFILE%\.dsh\. The web interface writes to settings.yaml or profiles\web\cordis.patch.yml. Keys are in .credentials.yaml; never post that file online.

If you just want a one-off run in the terminal without the web interface, put your key in an environment variable and run:

Headless connection test · Mac / Linux
export AMULET_API_KEY=sk-your-key
dsh --profile headless "Reply with exactly the word pong and nothing else."
Headless connection test · Windows
$env:AMULET_API_KEY = "sk-your-key"
dsh --profile headless "Reply with exactly the word pong and nothing else."

Headless mode needs a provider named amulet set up in settings with the default model pointing at it, or apiKeyEnv: AMULET_API_KEY declared in $DSH_HOME/settings.yaml in the official format. We tested it with a test key and got pong back.

7. Connect Tencent WorkBuddy

Step-by-step · open and fill in as you go

Tencent WorkBuddy

  1. 1
    Open the settings page

    China edition: Settings → Models → Add model → Custom. International edition: avatar → System settings → Models → Custom.

  2. 2
    Paste the request URL into the API address field

    Leave the "custom protocol" switch off. The app adds /chat/completions for you.

    Request URLhttps://amuletapi.com/v1

    If you prefer to enter the full address, use this one:

    Full URLhttps://amuletapi.com/v1/chat/completions
  3. 3
    Paste in the API key you just copied

    Use the real key from your console. Below is a placeholder; copy it and swap the middle for your key.

    API Keysk-your-key
  4. 4
    Paste in the model name

    It has to be a real model ID from this site, not a name you make up. Search by official name or ID below, for example opus. Click a row to copy its model ID.

    Selected Claude Sonnet 5.5claude-sonnet-5-5
  5. 5
    Test the connection, then say hello

    If there is a Test connection button, click it once. When it passes, pick this model in a chat window and send "hello".

Copy the whole config

You can paste this into the config file shown on the settings page (usually ~/.workbuddy/models.json for the China edition and ~/.workbuddy-ai/models.json for the international one), then replace sk-your-key with your own key.

{
  "models": [
    {
      "id": "claude-sonnet-5-5",
      "name": "Claude Sonnet 5.5",
      "vendor": "Custom",
      "url": "https://amuletapi.com/v1/chat/completions",
      "apiKey": "sk-your-key",
      "supportsToolCall": true
    }
  ]
}

WorkBuddy is Tencent's AI office assistant; it plans tasks and writes documents and spreadsheets. Custom models use OpenAI-compatible Chat Completions. These steps follow the official docs. We haven't installed the WorkBuddy app ourselves, so the app itself is untested, but our chat API has been tested at the same address.

Optional tip for long conversations

WorkBuddy works normally with every model on this site. One thing worth knowing: WorkBuddy's custom models currently use the OpenAI-compatible protocol and don't send Claude prompt-cache markers by default, so a Claude conversation past roughly 100,000 characters is billed at the full input price on every turn. If you run long Claude conversations heavily, you can also use Claude Code or the web chat here instead — both support cache reads, which saves a lot on long contexts.

China edition docs: workbuddy.cn. International edition docs: Model configuration. Download the matching edition from the official site.

Configure it in the app

  1. 1

    Open the settings page. China edition: Settings → Models → Add model → Custom. International edition: avatar → System settings → Models → Custom.

  2. 2

    Paste the request URL into the API address field. Leave the "custom protocol" switch off; the app adds /chat/completions for you.

    Request URL
    https://amuletapi.com/v1

    If you prefer to enter the full address, use this one:

    Full URL
    https://amuletapi.com/v1/chat/completions
  3. 3

    Paste in the API key you just copied. The placeholder is sk-your-key; replace it with your own.

  4. 4

    Paste in the model name. It has to be a real model ID from this site, not a name you make up. Search by official name or ID below, for example opus. Click a row to copy its model ID.

    Selected Claude Sonnet 5.5claude-sonnet-5-5
  5. 5

    If there is a Test connection button, click it once. When it passes, pick this model in a chat window and send "hello".

Where the config file is

Your key is stored only on your computer. The path can differ by version; go by what the settings page shows:

Usual path, China edition~/.workbuddy/models.jsonC:\Users\YourName\.workbuddy\models.json
Usual path, international edition~/.workbuddy-ai/models.jsonC:\Users\YourName\.workbuddy-ai\models.json

Copy the whole config

You can also paste the snippet below into the config file shown on the settings page (usually ~/.workbuddy/models.json for the China edition and ~/.workbuddy-ai/models.json for the international one), replacing sk-your-key with your own key. We suggest the full path for url:

Copy the whole models.json
{
  "models": [
    {
      "id": "claude-sonnet-5-5",
      "name": "Claude Sonnet 5.5",
      "vendor": "Custom",
      "url": "https://amuletapi.com/v1/chat/completions",
      "apiKey": "sk-your-key",
      "supportsToolCall": true
    }
  ]
}

Some versions let you set apiKey to ${AMULET_API_KEY} and keep the real key in a system environment variable, which is safer. If the new model doesn't show up after you edit the file, restart WorkBuddy.

8. General chat apps: Cherry Studio, Chatbox

If you don't want a coding tool or only the web chat, these chat apps work too. The setup follows each app's official docs, with the same address and key as our tested API.

Cherry Studio

Site and docs: Custom providers.

  1. 1

    Open Settings → Model Provider → "+ Add" at the bottom.

  2. 2

    Give it a name, like AMulet API. Set API Key to sk-your-key.

  3. 3

    In the API settings, set the OpenAI Base URL to https://amuletapi.com/v1. If you also want Claude's native protocol, set the Anthropic Base URL to https://amuletapi.com. The app previews the final request path; make sure it doesn't contain /v1 twice.

  4. 4

    Turn the provider on, then click Sync models or add IDs like claude-sonnet-5-5 and gpt-5.6-luna by hand. Use Check or model check to confirm the connection, then pick the model in a chat and say "hello".

Chatbox

Docs: Model Configuration.

  1. 1

    Open Settings → Model Provider → Add, and choose "OpenAI API compatible".

  2. 2

    Set API Host to https://amuletapi.com (without /v1) and leave API Path empty so the app adds /v1/chat/completions itself. Set API Key to sk-your-key. The model ID must be a real name from this site.

  3. 3

    Save and click Check. If it fails, set Host to https://amuletapi.com/v1 and Path to /chat/completions so the path isn't added twice.

9. Other ways: curl, Python, Immersive Translate

Try one request with curl

This is the smallest possible test. If you get a sentence back, your key and address are right. Replace sk-your-key with your own:

curl · Mac / Linux
curl https://amuletapi.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.6-luna","messages":[{"role":"user","content":"Hello"}],"max_tokens":64}'
curl · Windows
curl https://amuletapi.com/v1/chat/completions -H "Authorization: Bearer sk-your-key" -H "Content-Type: application/json" -d "{\"model\":\"gpt-5.6-luna\",\"messages\":[{\"role\":\"user\",\"content\":\"Hello\"}],\"max_tokens\":64}"

A minimal Python example

Install the official library first: pip install openai. Then:

Minimal Python example
from openai import OpenAI

client = OpenAI(
    base_url="https://amuletapi.com/v1",
    api_key="sk-your-key",
)

resp = client.chat.completions.create(
    model="gpt-5.6-luna",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Don't put your key in code you push to a repository. It's safer to read it from an environment variable: api_key=os.environ["AMULET_API_KEY"].

Immersive Translate

Immersive Translate is a browser extension that translates web pages. Its own instructions are under Translation services → OpenAI in the extension. The usual setup is below; check it against the extension's instructions too:

  1. 1

    Open Immersive Translate settings → Translation services → OpenAI, and choose to use your own API key.

  2. 2

    Set API Key to sk-your-key. Under More settings or Custom API URL, enter the full address https://amuletapi.com/v1/chat/completions.

  3. 3

    Pick a cheap, fast model, like gpt-5.6-luna or claude-haiku-5-5, then click Test. Translating a page sends lots of small requests in a row, so turn concurrency down a bit so you don't burn through your balance too fast.

10. API reference

If you already have a key and just want to see which endpoints this site supports, see the separate API reference. It has the base URL, authentication and minimal request examples. Here is a summary of the tested endpoints:

GET /v1/modelsList available models
POST /v1/chat/completionsOpenAI chat API, streaming supported
POST /v1/responsesOpenAI Responses; Codex uses this one
POST /v1/messagesAnthropic Messages; Claude Code uses this one
POST /v1beta/models/{model}:generateContentGemini native API; for streaming, change the ending to :streamGenerateContent

Full examples, the Gemini model list path, and why you shouldn't drop /v1 are all in the API reference. If a path isn't listed there, don't assume it works.

11. Common errors

401 / unauthorized / invalid api keyThe key was copied wrong, or picked up an extra space. In Claude Code, try changing ANTHROPIC_AUTH_TOKEN to ANTHROPIC_API_KEY. Don't use an old key you've disabled.
Insufficient balance / 402 / quotaYour wallet doesn't have enough dollar credit. Top up in your wallet and try again.
404 / model not found / model_not_foundThe model name is wrong, or the Base URL has /v1 added or missing. The model ID must match the pricing page exactly, like claude-sonnet-5-5, not Sonnet or claude-sonnet-3.5.
429 / too many requestsToo many requests. Wait a few seconds and try again. Turn concurrency down when translating pages.
Can't connect / network errorCheck that you didn't enter another site's address, and that your company network isn't blocking outside sites. Try the curl example on this page in a terminal first; if that works, the site is fine and the app's settings are off.
Claude Code keeps asking me to sign in to claude.aiYour environment isn't picking up this site's address and key. Make sure the settings file or environment variables are in effect, and open a new terminal.
Choosing Claude in Codex gives an errorClaude doesn't work in Codex. Change model in config.toml to a GPT, Gemini or Grok model. To use Claude, use Claude Code.
Codex asks me to sign in to ChatGPTIt isn't using the custom provider. Check that model_provider in config.toml is amulet, and that AMULET_API_KEY is set in the current terminal.
MISSING_CREDENTIAL / AMULET_API_KEY is not setThe amulet provider in your app doesn't have a key yet. Open amulet on the Models page, paste the API key you copied from this site and save; or set the environment variable AMULET_API_KEY. Pick the OpenAI-compatible protocol and set the URL to https://amuletapi.com/v1.
DeepSeek search has no API key for "DEEPSEEK_API_KEY"That's DeepSeek Harness's built-in search tool, and it needs an official DeepSeek key. We only provide model chat, not search, so our key won't work there. Turn web search off or switch to another search service; or enter an official DeepSeek API key (billed by DeepSeek), or sign in to a DeepSeek account for search. Chatting with models isn't affected. If you then see "499 status code", the search failed and that turn was cut off. It isn't a problem on our side.
504, or long non-streaming jobs never come backUse stream=true for long jobs. A streamed request only stops after 5 minutes with no new output; it is not a 5-minute total limit. The 504s caused by large requests being buffered whole in the gateway are fixed. If a model takes more than about 100 seconds to send its first token, Cloudflare may still return 504.
The error is a block of HTML, or the streamed reply gets cut offUsually the protocol is set to Amazon / Bedrock. Switch to OpenAI Chat Completions or Anthropic Messages, and don't use model names with prefixes like jp.anthropic. or jp.amazon..

Which model to pick (quick table)

Connection tests, translation, small questionsclaude-haiku-5-5 or gpt-5.6-luna, cheaper
Everyday coding and editingclaude-sonnet-5-5 or gpt-6-sol / gpt-6.1-sol
Especially hard tasksclaude-opus-5-5 or gpt-6-astra, pricier; check the pricing page first

Still stuck? Send the exact error text (with your key blacked out) to support@studywam.com.