abi / screenshot-to-code

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Home Page:https://screenshottocode.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How many tokens are probably consumed or how much it will cost to generate a table page.

Thea1211 opened this issue · comments

commented

How many tokens are probably consumed or how much it will cost to generate a table page. Is there a rough amount / number?

It varies depending:

  • which version you are on (have to send full history)
  • how large your screenshot is (affects how long the output will be with max of 4096 tokens)

Here are some sample tokens and costs (USD) for GPT-4 vision.

Screenshot 2024-04-17 at 12 33 43 PM

The project is definitely not optimized for token usage and there are no plans to optimize that further since the APIs are pretty cheap in general. If you're concerned about cost, we hope to support open source, local models that will be free but worse quality.

What's your budget?

commented

It varies depending:

  • which version you are on (have to send full history)
  • how large your screenshot is (affects how long the output will be with max of 4096 tokens)

Here are some sample tokens and costs (USD) for GPT-4 vision.

Screenshot 2024-04-17 at 12 33 43 PM The project is definitely not optimized for token usage and there are no plans to optimize that further since the APIs are pretty cheap in general. If you're concerned about cost, we hope to support open source, local models that will be free but worse quality.

What's your budget?

thanks,I just want to get a general idea.