Skip to content

[Bug]: Bytez Request ( Bugs & Ideas ) #40

Open

Description

New Features

Add a tool to compare different models side-by-side.

Show the cost of an API call on every model page.

Add pricing info for closed models like OpenAI and Google.

Create a page to see recent API calls and their costs.

Show the total amount of purchased credits in the dashboard.

Add a feature to see Claude’s "thinking" process.

Credit Changes

Refresh free credits every day instead of every month.

The suggested new limit is $0.05 per day for free users.

Bug Fixes

Fix the issue where closed models cannot use tools or functions.

Fix the crash that happens when uploading images or files.

Make sure reasoning works for all closed-source models.

Improve the connection for Claude, GPT, and Cohere.

Activity

  1. inf3rnus commented on Jan 6, 2026

    @inf3rnus
    Member

    @matiasvergaracastano2012

    Some of these are done as of yesterday/ a few days ago:

    • Show the cost of an API call on every model page.
    • Create a page to see recent API calls and their costs.
    • Show the total amount of purchased credits in the dashboard.
    • Add pricing info for closed models like OpenAI and Google.
    • Credit Changes
    • Improve the connection for Claude, GPT, and Cohere.
    • Fix the crash that happens when uploading images or files. -> Do you have an example model for where this was a problem?

    TODOs:

    Heard, but will likely not implement:

    • Refresh free credits every day instead of every month.
  2. inf3rnus commented on Jan 7, 2026

    @inf3rnus
    Member

    @matiasvergaracastano2012

    Claude's thinking process can now be seen when using the Bytez client.

    If you pass the following into params, you will see tokens.

    import Bytez from 'bytez.js';
    
    const sdk = new Bytez('BYTEZ_KEY');
    
    const model = sdk.model('anthropic/claude-opus-4-5');
    
    const input = [
      {
        "role": "system",
        "content": "You are a friendly chatbot"
      },
      {
        "role": "assistant",
        "content": "Hello, I'm a friendly bot"
      },
      {
        "role": "user",
        "content": "Hello bot, what is the capital of England?"
      }
    ];
    
    const params = {
      temperature: 0,
      thinking: {
        type: 'enabled',
        budget_tokens: 2000
      }
    };
    
    const { error, output } = await model.run(input, params);
    
    console.log({ error, output });

    Please let us know if you need something more than this!

  3. inf3rnus commented on Jan 9, 2026

    @inf3rnus
    Member

    @matiasvergaracastano2012 FYI we have fixed the issue with image uploads causing a crash!

  4. baganetz167-source commented on Feb 2, 2026

    @baganetz167-source

    import Bytez from 'bytez.js';

    const sdk = new Bytez('BYTEZ_KEY');

    const model = sdk.model('anthropic/claude-opus-4-5');

    const input = [
    {
    "role": "system",
    "content": "You are a friendly chatbot"
    },
    {
    "role": "assistant",
    "content": "Hello, I'm a friendly bot"
    },
    {
    "role": "user",
    "content": "Hello bot, what is the capital of England?"
    }
    ];

    const params = {
    temperature: 0,
    thinking: {
    type: 'enabled',
    budget_tokens: 2000
    }
    };

    const { error, output } = await model.run(input, params);

    console.log({ error, output });

  5. inf3rnus commented on Feb 9, 2026

    @inf3rnus
    Member

    @baganetz167-source

    Hey, so your problem is this:

    temperature may only be set to 1 when thinking is enabled. Please consult our documentation at https://docs.claude.com/en/docs/build-with-claude/extended-thinking#important-considerations-when-using-extended-thinking'

    The corrected code you need to use should look like this:

    import Bytez from "bytez.js";
    
    const sdk = new Bytez("BYTEZ_KEY");
    
    const model = sdk.model("anthropic/claude-opus-4-5");
    
    const input = [
      {
        role: "system",
        content: "You are a friendly chatbot"
      },
      {
        role: "assistant",
        content: "Hello, I'm a friendly bot"
      },
      {
        role: "user",
        content: "Hello bot, what is the capital of England?"
      }
    ];
    
    const params = {
      temperature: 1,
      thinking: {
        type: "enabled",
        budget_tokens: 2000
      }
    };
    
    const { error, output } = await model.run(input, params);
    
    console.log({ error, output });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions