Back to products

Using methods

Claude API Key — Setup Guide

Redeem your code, configure your app, and check your API key usage and expiry.

  1. Before you start

    Your connection details and available Claude models

    Base URL

    https://api.miraiapi.com/v1

    Your API key will begin with sk-. This is only an example format, not a usable key.

    Redeem code vs API key

    The redeem code from your order and your API key are different. Redeem the purchased code first. Then use the API key you receive to configure your app.

    Models listed by the provider: claude-fable-5, claude-opus-4.6, claude-opus-4.7, claude-opus-4.8, claude-opus-5, and claude-sonnet-5. Choose a model available for your key on the configuration page.

    Keep your key private

    Keep your API key private. Do not share it in messages, screenshots, or public files.

  2. 1

    Redeem your code

    Turn the purchased code into your API key

    Enter the redeem code from your order and click “Check code.” Complete the redemption process to receive your API key.

    Open the redeem page
    Where to enter and check your redeem code
  3. 2

    Configure your app

    Paste your API key, select your app and model, then copy the setup command.

    Select your app and an available Claude model. Paste your API key into CONFIG_KEY, then copy the generated setup command for your operating system.

    On Windows, run the command in PowerShell or Command Prompt. On macOS or Linux, run it in Terminal. Follow the setup instructions shown there.

    Open the configuration page
  4. 3

    Check usage & expiry

    View your remaining quota and expiration date

    Select “Check key” and enter your API key to view the remaining quota and expiration date.

    Open the usage page