Skip to content
ACS Infra

Use the App

The App is where you make API keys, run prompts in the browser, grow Looms, and read your usage. It spends your tokens a month, as your scripts do. Sign in to open it.

The App's pages

The App's navigation lists these pages:

PageWhat you do there
PlaygroundGrow a tree of continuations from a text, or run one prompt with every setting of the API (Use the Playground). Compare models, and read each token's probability. Its Loom layout is the Loom page (Use the Loom page).
UsageRead the tokens that you used and have left, and ask for more (Read your usage, Ask for more tokens).
API KeysMake, rename, pause, and revoke API keys (Use API keys).
Profile, in the menu with your nameRead your name and email, reset your password, and link a sign-in provider (Get access). Connect Discord, choose your emails, and delete your account.
Admin, for admins onlyThe ACS team's page for Applications, Users, token requests, and the models.

The name ACS Infra in the navigation opens your last Playground. Website, in the menu with your name, opens the front page. Feedback opens Send feedback (Send feedback). Docs links to these docs. Support has Email, Discord, Help, and Tour. On a computer, Docs and Support open as menus beside the navigation, and on a phone they open inside it. Discord opens the invite to ACS's Discord server (Discord). Help opens Support in these docs. Tour opens the tour of the App (Take the tour). Sign out is in the menu with your name.

Take the tour

After your first sign-in, a short tour points to each part of the navigation and says what you do there. Select Next and Back, or use the arrow keys, to move through it. Select Skip or Done, or use Escape, to close it. When the navigation is closed, as on a phone, each step is a card at the foot of the page.

The tour shows once in each browser. To see it again, open Support and select Tour.

Read your usage

  1. Open Usage. It counts this month, up to today, for all your keys and models.
  2. To count other days, select the days at the top of the page. Choose Today, Last 7 days, Last 30 days, This month, or Last month. Or select a first and a last day in the calendar, then Apply.
  3. To count one key or one model, choose it in All keys or All models.

The page counts in UTC days, at most 366 at a time. The address keeps the days, the key, and the model, so a reload or a shared link opens the same view. The page reads the numbers again every minute while its tab is open. Updated beside the title says when it last read them, in UTC. Select Refresh beside it to read them at once. When a read fails, the page keeps the numbers that it read last and says Could not refresh.

The page has these parts, from the top:

PartWhat it shows
Tokens usedThe input and output tokens of the Completions that the page counts.
CompletionsHow many Completions it counts, and how many of them still run.
This monthHow many of this month's tokens you used, of how many, such as 1.2M of 5M, and the day they refill. Its meter turns orange from 90% used, and red once they are spent. It ends with Request more tokens (Ask for more tokens).
Tokens per dayThe input and output tokens of each day, as a chart. Point at a day, or select the chart and use the arrow keys, to read its numbers. View as table lists each day that had a Completion.
By model and By sourceThe tokens of each model, and of each source: the API, the Playground, the Loom, Jobs, or Harvests. By source also counts each source's Completions and its input and output tokens.
By clientThe tokens of each client label. A request's label is its X-Title header, or else the first product of its User-Agent, such as python-requests/2.32.3. What you ran in the App counts as App, and a request with neither header as No label. Past 100 labels, Other labels counts the rest. Name your scripts opens Name your scripts.
By keyEach key that ran Completions on those days, with its status and its input and output tokens. It also shows the key's tokens last month and in all, and when it last ran one. Select a key's name to count that key alone.
CompletionsThe newest 100 of those Completions. Each row has when it started (UTC), its model, source, key, input and output tokens, how they were counted, how long it took, and status. A Completion that you ran in the App has App as its key.

A Completion's status is Running, Completed, Failed, or Stopped. Failed means that Inference failed it after its first token. Stopped means that its client closed the connection, or that you stopped its Job, Branch, or Run, before Inference finished it. Each costs the tokens that it used (How a Hold ends).

Counted says where a Completion's tokens came from. Reported tokens are the ones that Inference reported. Partial tokens are the ones that a stream sent before it stopped. They are also the tokens of the choices that answered before another choice failed, in a request with Activations or Steering vectors. Held is the whole Hold, for a request without a stream that stopped after it reached Inference. Duration runs from the start of the Completion to its end, and includes the wait for the model to start.

Your tokens a month are for all your keys and models. With one key or one model chosen, This month still counts every key and model, and says so. The tokens used include what your running Completions hold.

The page leaves out a released Completion, such as one that Inference refused before its first token, because it costs nothing. Tokens and Holds explains what a Completion holds and pays.

Name your scripts

Give each script a name, so that By client on Usage shows what each one used.

  1. Send the name in the X-Title header of each request. With curl, add -H "X-Title: nightly-eval":

    curl "$ACS_API_BASE/completions" \
      -H "Authorization: Bearer $ACS_API_KEY" \
      -H "Content-Type: application/json" \
      -H "X-Title: nightly-eval" \
      -d '{"model": "llama-8b", "prompt": "The sky is", "max_tokens": 5}'

    With the openai package, set default_headers once, and each request of the client sends it:

    import os
    
    from openai import OpenAI
    
    client = OpenAI(
        base_url=os.environ["ACS_API_BASE"],
        api_key=os.environ["ACS_API_KEY"],
        default_headers={"X-Title": "nightly-eval"},
    )
    
    completion = client.completions.create(model="llama-8b", prompt="The sky is", max_tokens=5)
    print(completion.choices[0].text)
  2. Open Usage. By client has a row for nightly-eval, with its Completions and tokens.

A Job, a Branch, and a harvest count under the name of the request that made them. A script without X-Title counts under its User-Agent, such as curl/8.7.1 or OpenAI/Python. A script reads the same split from GET /v1/quota?group_by=client (Client labels).

Ask for more tokens

  1. Open Request more tokens. Request more tokens under This month on Usage opens it, and so does Request more in the notice under a page's title.
  2. Fill in Tokens and Planned usage. Write Tokens as a number, such as 50K or 2.5M.
  3. Answer the optional questions if you can: Models, Project, How you got the number, Results, Links, and When you need them. An admin decides from your answers.
  4. Select Send request. The App says "Request sent."

If a required question has no answer, or the App cannot read Tokens, the App says what to fix under each such question. It keeps what you wrote.

An admin approves the request, with the tokens that you asked for or another number, or rejects it. The tokens that the admin approves are added to your tokens a month, and count this month at once. Your requests lists each request with the day that you sent it, its tokens, and its status: Waiting, Approved, or Rejected. A rejected request also shows the admin's note. An approval for another amount shows both numbers, such as 50K of 100M. On a phone, the note is under the status. You have one request waiting at a time. Once an admin decides it, you can ask again.

From 90% of your tokens used, a notice under the title of each page says how many are left, with Request more. It counts the tokens that you used this month against your tokens a month, as Usage shows them. With no tokens left, it says You have no tokens left this month. Its close button hides it until you close the browser, or until it says that no tokens are left. The API also emails you once a month at 90% (Your tokens a month).

Send feedback

  1. Select Feedback in the App's navigation.
  2. Under What is it about?, choose Bug, Feature request, or General.
  3. Write Your note, of up to 5,000 characters. The App also sends the address of the page that you are on.
  4. To add screenshots, select Choose screenshots, drop them on the field, or paste them. Each is a PNG, JPEG, GIF, or WebP image of 2 MB or less, and a note has at most 5.
  5. When the App has recent errors and request ids, it lists them under the form and sends them with your note. To send the note without them, and without your User or your browser's name, select the checkbox that starts with Send anonymously.
  6. Select Send. The App says "Thanks, your note reached the team."

The team tracks each note in Linear, its issue tracker. Your note's text, the page, and your screenshots go there. In place of your email, the issue links to the Admin page about you, so that the team can answer you. Only admins can open that page. An anonymous note has no such link. The recent errors and the request ids stay on the servers of ACS Infra. Do not paste a prompt or a Completion that you want to keep private.

To report a bug by email instead, read Report a bug.

On this page