Lab

No run yet. Write your code, then click Run.

Live tokeniser

Teaching split into words and punctuation. Not a production tokenizer.

19 tokens · ~$0.000003 at $0.15 / 1M

Tokensarechunksoftext.Themodelneverremembers.Youresendthewholeconversationeverytime.

Context window

Lower the budget. Oldest messages drop first. System stays when possible.

All messages fit. Drag left to force a trim.

  • systemYou are a helpful assistant.
  • userMy name is Ada and I live in London.
  • assistantNice to meet you, Ada.
  • userWhat is the capital of France?
  • assistantParis.
  • userWhat is my name?

Kept load: 49 tokens. On the next call, only these messages are sent again.