> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sharemy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Credits and pricing

> What credits are worth, what each job costs, and when you get credits back.

## Credits

* 1 credit is \$0.001. 1,000 credits cost 1 USDC.
* Every amount of USDC converts exactly: 0.000001 USDC buys 0.001 credit.
* You buy credits in the account panel on [sharemy.ai](https://sharemy.ai). See [Quickstart](https://docs.sharemy.ai/quickstart.md), step 2.
* The same balance pays for API calls and for jobs in the studios.

## How a job is priced

The network sets the price from the job itself, never from what the caller says. Each model has a base price for a job of a reference size. The price is the base price times the size of the job:

| Kind of job | Reference size | Scales with |
| - | - | - |
| Chat | a 1,000-token reply | `max_tokens`: the longest reply you allow, not the reply you get |
| Pictures | one 512x512 picture | pixels, and the number of pictures |
| Image edits | one 4-megapixel picture | pixels in the full picture, with a 3-credit minimum |
| Speech | 500 characters | characters of `input` |
| Transcription and translation | one minute of audio | minutes of audio, plus 25% with `diarize` |

Two floors apply:

* The size never counts as less than a quarter of the reference (a fifth for speech). A 100-token chat reply is priced as 250 tokens.
* No job costs less than 1 credit.

Prices are rounded up to the nearest 0.001 credit. They may change as we measure how long models take to run.

## Holds and refunds

When the network accepts a job, it takes the price from your balance and holds it. Then:

* **The result is delivered:** the price is spent. For an async image job, the charge settles when the result is stored. You can retrieve it for one hour. 80% goes to the machine that ran the job. The rest goes to the network.
* **The job fails, or nobody runs it:** the whole price goes back to your balance.
* **You cancel an unfinished job:** the whole hold goes back. Closing a synchronous call or chat stream cancels it. An [async image job](https://docs.sharemy.ai/api-reference/jobs.md#cancel-a-job) keeps running after you disconnect. Use its cancel endpoint to stop it.

If your balance is below the price, the job is refused and nothing is held. A synchronous call returns `402 insufficient_quota`. An async image job reports `insufficient_quota` in its `error` when you poll. Both include `price_credits` and `balance_credits`.

For accepted jobs, `X-ShareMyAI-Cost-Credits` gives the quoted price and `X-ShareMyAI-Balance-Credits` gives the balance just after the hold. A successful chat also reports the price in `usage.cost_credits`.

## Free credits

* A new account starts with 100 free credits.
* When it is open, you can earn more by rating pictures at [sharemy.ai/rate](https://sharemy.ai/rate): 2 credits a rating, up to 50 credits a day (UTC).
* Free credits are spent before bought ones.
* A job that runs on a machine shared from your own account is free: the held credits come back, and the machine earns nothing for it. When your own machine and another are equally ready, the network picks yours.

## API prices

Prices are in credits. At $0.001 a credit, 8.192 credits is about $0.008.

### Chat

| Model | Credits per 1,000 tokens of `max_tokens` | Default `max_tokens` | Price at the default | Price at 4,096 tokens |
| - | - | - | - | - |
| `smollm2-360m` | 1 | 1,024 | 1.024 | 4.096 |
| `qwen3-06b` | 1 | 1,024 | 1.024 | 4.096 |
| `qwen3-17b` | 2 | 2,048 | 4.096 | 8.192 |
| `qwen3-4b` | 4 | 2,048 | 8.192 | 16.384 |
| `gemma-4-e2b` | 4 | 2,048 | 8.192 | 16.384 |
| `gemma-4-e4b` | 6 | 2,048 | 12.288 | 24.576 |

Set `max_tokens` or `max_completion_tokens` to what you need. The price uses the effective budget, capped at 4,096 tokens. With `max_tokens` at 256, `qwen3-4b` costs 1.024 credits a call.

### Pictures

Per picture. If a later Janus job fails, you pay for the pictures already made. The cost header gives their total.

| Model | 256x256 | 384x384 | 512x512 | 1024x1024 |
| - | - | - | - | - |
| `flux2-klein` | 1.5 | | 6 | 24 |
| `z-image-turbo` | 2.5 | | 10 | 40 |
| `janus-pro-1b` | | 4 | | |

### Image edits

With `lama`, you pay 3 credits per 4,000,000 pixels in the original picture, with a minimum of 3 credits. A 2,000 × 2,000 picture costs 3 credits. A 4,000 × 2,000 picture costs 6 credits. The size of the masked area does not affect the price.

### Speech

| Model | Credits per 500 characters | Least a call costs | 4,096 characters |
| - | - | - | - |
| `kokoro-q8` | 1 | 1 | 8.192 |
| `kokoro-fp32` | 2 | 1 | 16.384 |
| `supertonic` | 2 | 1 | 16.384 |
| `omnivoice` | 6 | 1.2 | 49.152 |

### Transcription and translation

Priced by the length of the recording. Recordings under 15 seconds are priced as 15 seconds.

| Model | Credits per minute | With `diarize` | A 30-minute recording |
| - | - | - | - |
| `whisper-tiny-en` | 1 | 1.25 | 30 |
| `whisper-base` | 2 | 2.5 | 60 |
| `whisper-large-v3-turbo` | 5 | 6.25 | 150 |

## Studio-only prices

These models run in the studios on sharemy.ai but are not in the API yet. Prices are for one job at the reference size.

| Studio | Model | Credits |
| - | - | - |
| Ask a picture | Describe it, Find objects, Read the text | 2 |
| Ask a picture | Ask a question | 3 |
| Photo fixes | Remove background | 3 |
| Photo fixes | Remove background, people (fast) | 1 |
| Photo fixes | Upscale 2x | 3 |
| Photo fixes | Restore old photo | 4 |
| Photo fixes | Click to select, Depth map | 1 |
| 3D | TripoSR | 10 at the default detail |
| 3D | TripoSG | 40 at the default detail |
| Stems | HTDemucs v4 | 4 per minute of audio |
| Video | Wan 2.1 1.3B (Self-Forcing) | 60 per 33-frame clip at 416x240 |

A 3D job's price grows with the cube of its detail setting, doubles when the model is rigged, and adds one more base price when it starts from a prompt. A video's price scales with its number of frames and its frame size.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.